import { Content } from 'layout/';

import { Main } from 'views/';

export default {
  path: 'answer',
  name: '回答管理',
  icon: 'inbox',
  component: Content,
  redirect: '/answer/list',
  children: [{
    path: 'list',
    name: '回答列表',
    icon: 'bar-chart',
    component: Main.Answer.List
  }, {
    path: 'create',
    hidden: true,
    name: '创建回答',
    icon: 'bar-chart',
    component: Main.Answer.Edit
  }, {
    path: 'edit',
    hidden: true,
    name: '编辑回答',
    icon: 'bar-chart',
    component: Main.Answer.Edit
  }]
};